package org.openkoala.demo.facade;

import java.util.List;

import org.dayatang.utils.Page;
import org.openkoala.demo.facade.dto.UserDTO;
import org.openkoala.koala.commons.InvokeResult;

public interface UserFacade {

	public InvokeResult getUser(Long id);
	
	public InvokeResult saveUser(UserDTO user);
	
	public InvokeResult updateUser(UserDTO user);
	
	public InvokeResult removeUser(Long id);
	
	public InvokeResult removeUsers(Long[] ids);
	
	public List<UserDTO> findAllUser();
	
	public Page<UserDTO> pageQueryUser(UserDTO user, int currentPage, int pageSize);
	

}

